import axios from "@/utils/axios";

// 分页查询会员卡类型列表
export const getTableList = (data) =>
  axios.post("/vip/memberType/findAllMemberType", data);

// 新增或编辑
export const addOrUpdate = (data) =>
  axios.post("/vip/memberType/addMemberType", data);

// 删除会员卡类型
export const delCardTypeItem = (memberTypeId) =>
  axios.delete(`/vip/memberType/deleteByMemberTypeId/${memberTypeId}`);
